<%= error_messages_for :admin %>
<% form_for(@admin, @user) do |admin_form| %>
    <p>
      <%= admin_form.label :pseudo %><br />
      <%= admin_form.text_field :pseudo %>
    </p>
    <p>
      <% admin_form.fields_for :user_attributes, @user do |user_form| %>
          <%= render :partial => 'users/user', :locals => {:user_form => user_form, :user => @user} %>
      <% end %>
    </p>
    <p>
      <%= admin_form.submit button_name %>
    </p>
<% end %>